﻿<UserControl x:Class="Kiva7.Pages.TestUserControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">

    <StackPanel Margin="0,0,0,17"  Background="Transparent">
        <StackPanel Orientation="Horizontal">
            <Image x:Name="imgLender" Source="{Binding Image.NormalImageUrl}" 
                               Width="200" Height="200" 
                            Visibility="{Binding Image}"/>

            <StackPanel Width="280" Orientation="Vertical">

                <TextBlock Text="Name"
                               Style="{StaticResource KivaTextAccentStyle}"/>

                <TextBlock Text="LoanBecause" TextWrapping="Wrap" 
                               Style="{StaticResource KivaTextAccentStyle}"/>
                
                 <StackPanel Orientation="Horizontal">
                    <TextBlock Text="MemberCount" Margin="10,0,0,0" 
                                            Style="{StaticResource KivaTextAccentStyle}"/>
                    <TextBlock Text="Members" Margin="10,0,0,0" 
                                            Style="{StaticResource KivaTextAccentStyle}"/>
                </StackPanel>
                <StackPanel Orientation="Horizontal">
                    <TextBlock Text="LoanedAmount" Margin="10,0,0,0"  
                                            Style="{StaticResource KivaTextAccentStyle}"/>

                    <TextBlock Text="in" Margin="20,0,0,0" 
                                            Style="{StaticResource KivaTextAccentStyle}"/>

                    <TextBlock Text="LoanCount" Margin="10,0,0,0"  
                                            Style="{StaticResource KivaTextAccentStyle}"/>
                    <TextBlock Text="Loans" Margin="20,0,0,0" 
                                            Style="{StaticResource KivaTextAccentStyle}"/>

                </StackPanel>           
            </StackPanel>
        </StackPanel>

    </StackPanel>
</UserControl>
